package com.bj58.groupbuy.action.service.impl;

import java.util.List;

import com.bj58.groupbuy.action.model.IRColumns;
import com.bj58.groupbuy.action.service.IRColumnsService;
import com.bj58.groupbuy.service.impl.BaseService;

public class IRColumnsServiceImpl extends BaseService<IRColumns> implements IRColumnsService {


	@Override
	public List<IRColumns> getColsByReportId(int reportId) throws Exception {
		List<IRColumns> rsList = getGenericDao().find(IRColumns.class, "*", "reportId="+reportId, "id");
		if( null != rsList  && !rsList.isEmpty())
			return rsList;
		
		return null;
	}

}
